<?php
/**
 * Created by phpstorm.
 * User: WML
 * Date: 2019/8/9 0009
 * Time: 16:49
 */
namespace app\index\controller;
use app\index\model\Users;
use think\Controller;
use think\facade\Session;
class Group extends Controller
{
    public function group(){
        $group_id = $_GET['group_id'];
        $send_user_data = Users::get(session::get('user_id'));
        $this->assign([
            'group_id' => $group_id,
            'send_user_data' => $send_user_data,
            'time' => time()
        ]);
        return view("group");
    }
}